package com.sugar.subscribe.course.module.business.controller.admin.coachplan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 教练课程方案新增/修改 Request VO")
@Data
public class CoachPlanSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27319")
    private Long id;

    @Schema(description = "授权服务分类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16666")
    @NotNull(message = "授权服务分类不能为空")
    @Size(min = 2, message = "授权服务分类不能为空")
    private Long[] serviceIds;

    @Schema(description = "审核状态（字典：business_audit_status）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "审核状态不能为空")
    private Integer auditStatus;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer sort;

    @Schema(description = "课程人数（字典：business_coach_service_people_count）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1752")
    @NotEmpty(message = "课程人数不能为空")
    private String peopleCount;

    @Schema(description = "课程时间（字典：business_coach_service_time）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "课程时间不能为空")
    private String serviceTime;

    @Schema(description = "课程价格（单位分）", requiredMode = Schema.RequiredMode.REQUIRED, example = "14027")
    @NotNull(message = "课程价格不能为空")
    private Integer price;
    /**
     * 审核拒绝原因
     */
    private String refuseCause;

}